package jblip.gui.data.channels;

import jblip.gui.JBlip;
import jblip.resources.Update;

public class BliposphereChannel extends UpdatesDataChannel {

  BliposphereChannel() {
    super("Bliposfera");
  }

  @Override
  protected Iterable<? extends Update> getUpdates() {
    return JBlip.instance().getBlipClient().pollBliposhere(null, 15, null);
  }

  @Override
  protected Iterable<? extends Update> getUpdates(int last_update_id) {
    return JBlip.instance().getBlipClient().pollBliposhere(
        last_update_id, null, null);
  }

}
